<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-5">
    <title>SLC-90心理健康测评问卷</title>
    <style>
        body { 
            font-family: 'Segoe UI', Arial, sans-serif;
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: #f5f5f5;
        }
        .question-group {
            background: white;
            padding: 20px;
            margin-bottom: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        h2 { color: #2c3e50; border-bottom: 2px solid #3498db; padding-bottom: 5px; }
        .question {
            margin: 15px 0;
            font-size: 16px;
            color: #34495e;
        }
        .options label {
            display: block;
            margin: 8px 0;
            padding: 10px;
            background: #f8f9fa;
            border-radius: 4px;
            transition: background 0.3s;
        }
        .options label:hover { background: #e9ecef; }
        input[type="radio"] { margin-right: 10px; }
        button {
            background: #3498db;
            color: white;
            padding: 12px 25px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            margin-top: 20px;
        }
        button:hover { background: #2980b9; }
    </style>
</head>
<body>
    <h1>SLC-90心理健康测评问卷</h1>
    <form action="/submit" method="post">
        <!-- 示例问题组 -->
        <div class="question-group">
            <h2>1. 您最近是否经常感到头痛？</h2>
            <div class="question">
                <div class="options">
                    <label><input type="radio" name="q1" value="0" required> 没有</label>
                    <label><input type="radio" name="q1" value="1"> 很轻</label>
                    <label><input type="radio" name="q1" value="2"> 中等</label>
                    <label><input type="radio" name="q1" value="3"> 偏重</label>
                    <label><input type="radio" name="q1" value="4"> 严重</label>
                </div>
            </div>
        </div>

        <div class="question-group">
            <h2>2. 您是否感到心神不宁或坐立不安？</h2>
            <div class="question">
                <div class="options">
                    <label><input type="radio" name="q2" value="0" required> 没有</label>
                    <label><input type="radio" name="q2" value="1"> 很轻</label>
                    <label><input type="radio" name="q2" value="2"> 中等</label>
                    <label><input type="radio" name="q2" value="3"> 偏重</label>
                    <label><input type="radio" name="q2" value="4"> 严重</label>
                </div>
            </div>
        </div>

        <div class="question-group">
            <h2>3. 当你头痛时，脑海中反复出现不必要的想法或字句</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q3" value="0" required> 没有</label>
                <label><input type="radio" name="q3" value="1"> 很轻</label>
                <label><input type="radio" name="q3" value="2"> 中等</label>
                <label><input type="radio" name="q3" value="3"> 偏重</label>
                <label><input type="radio" name="q3" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>4. 你有时会头昏或昏倒</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q4" value="0" required> 没有</label>
                <label><input type="radio" name="q4" value="1"> 很轻</label>
                <label><input type="radio" name="q4" value="2"> 中等</label>
                <label><input type="radio" name="q4" value="3"> 偏重</label>
                <label><input type="radio" name="q4" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>5. 你感到对异性的兴趣减退</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q5" value="0" required> 没有</label>
                <label><input type="radio" name="q5" value="1"> 很轻</label>
                <label><input type="radio" name="q5" value="2"> 中等</label>
                <label><input type="radio" name="q5" value="3"> 偏重</label>
                <label><input type="radio" name="q5" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>6. 你会苛求他人</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q6" value="0" required> 没有</label>
                <label><input type="radio" name="q6" value="1"> 很轻</label>
                <label><input type="radio" name="q6" value="2"> 中等</label>
                <label><input type="radio" name="q6" value="3"> 偏重</label>
                <label><input type="radio" name="q6" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>7. 你感到别人能控制你的思想</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q7" value="0" required> 没有</label>
                <label><input type="radio" name="q7" value="1"> 很轻</label>
                <label><input type="radio" name="q7" value="2"> 中等</label>
                <label><input type="radio" name="q7" value="3"> 偏重</label>
                <label><input type="radio" name="q7" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>8. 你会责怪别人制造麻烦</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q8" value="0" required> 没有</label>
                <label><input type="radio" name="q8" value="1"> 很轻</label>
                <label><input type="radio" name="q8" value="2"> 中等</label>
                <label><input type="radio" name="q8" value="3"> 偏重</label>
                <label><input type="radio" name="q8" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>9. 你容易忘记事情</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q9" value="0" required> 没有</label>
                <label><input type="radio" name="q9" value="1"> 很轻</label>
                <label><input type="radio" name="q9" value="2"> 中等</label>
                <label><input type="radio" name="q9" value="3"> 偏重</label>
                <label><input type="radio" name="q9" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>10. 你会担心自己的衣饰是否整齐及仪态是否端正</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q10" value="0" required> 没有</label>
                <label><input type="radio" name="q10" value="1"> 很轻</label>
                <label><input type="radio" name="q10" value="2"> 中等</label>
                <label><input type="radio" name="q10" value="3"> 偏重</label>
                <label><input type="radio" name="q10" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>11. 你容易烦恼和激动</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q11" value="0" required> 没有</label>
                <label><input type="radio" name="q11" value="1"> 很轻</label>
                <label><input type="radio" name="q11" value="2"> 中等</label>
                <label><input type="radio" name="q11" value="3"> 偏重</label>
                <label><input type="radio" name="q11" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>12. 你感到胸痛</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q12" value="0" required> 没有</label>
                <label><input type="radio" name="q12" value="1"> 很轻</label>
                <label><input type="radio" name="q12" value="2"> 中等</label>
                <label><input type="radio" name="q12" value="3"> 偏重</label>
                <label><input type="radio" name="q12" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>13. 你害怕空旷的场所或街道</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q13" value="0" required> 没有</label>
                <label><input type="radio" name="q13" value="1"> 很轻</label>
                <label><input type="radio" name="q13" value="2"> 中等</label>
                <label><input type="radio" name="q13" value="3"> 偏重</label>
                <label><input type="radio" name="q13" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>14. 你感到自己的精力下降，活动减慢</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q14" value="0" required> 没有</label>
                <label><input type="radio" name="q14" value="1"> 很轻</label>
                <label><input type="radio" name="q14" value="2"> 中等</label>
                <label><input type="radio" name="q14" value="3"> 偏重</label>
                <label><input type="radio" name="q14" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>15. 你想结束自己的生命</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q15" value="0" required> 没有</label>
                <label><input type="radio" name="q15" value="1"> 很轻</label>
                <label><input type="radio" name="q15" value="2"> 中等</label>
                <label><input type="radio" name="q15" value="3"> 偏重</label>
                <label><input type="radio" name="q15" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>16. 你能听到旁人听不到的声音</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q16" value="0" required> 没有</label>
                <label><input type="radio" name="q16" value="1"> 很轻</label>
                <label><input type="radio" name="q16" value="2"> 中等</label>
                <label><input type="radio" name="q16" value="3"> 偏重</label>
                <label><input type="radio" name="q16" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>17. 你会发抖</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q17" value="0" required> 没有</label>
                <label><input type="radio" name="q17" value="1"> 很轻</label>
                <label><input type="radio" name="q17" value="2"> 中等</label>
                <label><input type="radio" name="q17" value="3"> 偏重</label>
                <label><input type="radio" name="q17" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>18. 你感到大多数人都不可信任</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q18" value="0" required> 没有</label>
                <label><input type="radio" name="q18" value="1"> 很轻</label>
                <label><input type="radio" name="q18" value="2"> 中等</label>
                <label><input type="radio" name="q18" value="3"> 偏重</label>
                <label><input type="radio" name="q18" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>19. 你感觉胃口不好</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q19" value="0" required> 没有</label>
                <label><input type="radio" name="q19" value="1"> 很轻</label>
                <label><input type="radio" name="q19" value="2"> 中等</label>
                <label><input type="radio" name="q19" value="3"> 偏重</label>
                <label><input type="radio" name="q19" value="4"> 严重</label>
            </div>
            </div>
        </div>
        <div class="question-group">
            <h2>20. 你容易哭泣</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q20" value="0" required> 没有</label>
                <label><input type="radio" name="q20" value="1"> 很轻</label>
                <label><input type="radio" name="q20" value="2"> 中等</label>
                <label><input type="radio" name="q20" value="3"> 偏重</label>
                <label><input type="radio" name="q20" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>21. 你同异性相处时感到害羞不自在</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q21" value="0" required> 没有</label>
                <label><input type="radio" name="q21" value="1"> 很轻</label>
                <label><input type="radio" name="q21" value="2"> 中等</label>
                <label><input type="radio" name="q21" value="3"> 偏重</label>
                <label><input type="radio" name="q21" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>22. 你会感到受骗、中了圈套或有人想抓住你</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q22" value="0" required> 没有</label>
                <label><input type="radio" name="q22" value="1"> 很轻</label>
                <label><input type="radio" name="q22" value="2"> 中等</label>
                <label><input type="radio" name="q22" value="3"> 偏重</label>
                <label><input type="radio" name="q22" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>23. 你无缘无故地突然感到害怕</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q23" value="0" required> 没有</label>
                <label><input type="radio" name="q23" value="1"> 很轻</label>
                <label><input type="radio" name="q23" value="2"> 中等</label>
                <label><input type="radio" name="q23" value="3"> 偏重</label>
                <label><input type="radio" name="q23" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>24. 你会不能控制地大发脾气</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q24" value="0" required> 没有</label>
                <label><input type="radio" name="q24" value="1"> 很轻</label>
                <label><input type="radio" name="q24" value="2"> 中等</label>
                <label><input type="radio" name="q24" value="3"> 偏重</label>
                <label><input type="radio" name="q24" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>25. 你害怕单独出门</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q25" value="0" required> 没有</label>
                <label><input type="radio" name="q25" value="1"> 很轻</label>
                <label><input type="radio" name="q25" value="2"> 中等</label>
                <label><input type="radio" name="q25" value="3"> 偏重</label>
                <label><input type="radio" name="q25" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>26. 你会经常责怪自己</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q26" value="0" required> 没有</label>
                <label><input type="radio" name="q26" value="1"> 很轻</label>
                <label><input type="radio" name="q26" value="2"> 中等</label>
                <label><input type="radio" name="q26" value="3"> 偏重</label>
                <label><input type="radio" name="q26" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>27. 你感到腰痛</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q27" value="0" required> 没有</label>
                <label><input type="radio" name="q27" value="1"> 很轻</label>
                <label><input type="radio" name="q27" value="2"> 中等</label>
                <label><input type="radio" name="q27" value="3"> 偏重</label>
                <label><input type="radio" name="q27" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>28. 你感到难以完成任务</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q28" value="0" required> 没有</label>
                <label><input type="radio" name="q28" value="1"> 很轻</label>
                <label><input type="radio" name="q28" value="2"> 中等</label>
                <label><input type="radio" name="q28" value="3"> 偏重</label>
                <label><input type="radio" name="q28" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>29. 你感到孤独</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q29" value="0" required> 没有</label>
                <label><input type="radio" name="q29" value="1"> 很轻</label>
                <label><input type="radio" name="q29" value="2"> 中等</label>
                <label><input type="radio" name="q29" value="3"> 偏重</label>
                <label><input type="radio" name="q29" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>30. 你感到苦闷</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q30" value="0" required> 没有</label>
                <label><input type="radio" name="q30" value="1"> 很轻</label>
                <label><input type="radio" name="q30" value="2"> 中等</label>
                <label><input type="radio" name="q30" value="3"> 偏重</label>
                <label><input type="radio" name="q30" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>31. 你会过分担忧</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q31" value="0" required> 没有</label>
                <label><input type="radio" name="q31" value="1"> 很轻</label>
                <label><input type="radio" name="q31" value="2"> 中等</label>
                <label><input type="radio" name="q31" value="3"> 偏重</label>
                <label><input type="radio" name="q31" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>32. 你感觉对事物不感兴趣</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q32" value="0" required> 没有</label>
                <label><input type="radio" name="q32" value="1"> 很轻</label>
                <label><input type="radio" name="q32" value="2"> 中等</label>
                <label><input type="radio" name="q32" value="3"> 偏重</label>
                <label><input type="radio" name="q32" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>33. 你感到害怕</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q33" value="0" required> 没有</label>
                <label><input type="radio" name="q33" value="1"> 很轻</label>
                <label><input type="radio" name="q33" value="2"> 中等</label>
                <label><input type="radio" name="q33" value="3"> 偏重</label>
                <label><input type="radio" name="q33" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>34. 你的感情容易受到伤害</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q34" value="0" required> 没有</label>
                <label><input type="radio" name="q34" value="1"> 很轻</label>
                <label><input type="radio" name="q34" value="2"> 中等</label>
                <label><input type="radio" name="q34" value="3"> 偏重</label>
                <label><input type="radio" name="q34" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>35. 你觉得旁人能知道你的私下想法</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q35" value="0" required> 没有</label>
                <label><input type="radio" name="q35" value="1"> 很轻</label>
                <label><input type="radio" name="q35" value="2"> 中等</label>
                <label><input type="radio" name="q35" value="3"> 偏重</label>
                <label><input type="radio" name="q35" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>36. 你感到别人不理解你，不同情你</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q36" value="0" required> 没有</label>
                <label><input type="radio" name="q36" value="1"> 很轻</label>
                <label><input type="radio" name="q36" value="2"> 中等</label>
                <label><input type="radio" name="q36" value="3"> 偏重</label>
                <label><input type="radio" name="q36" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>37. 你感到人们对你不友好，不喜欢你</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q37" value="0" required> 没有</label>
                <label><input type="radio" name="q37" value="1"> 很轻</label>
                <label><input type="radio" name="q37" value="2"> 中等</label>
                <label><input type="radio" name="q37" value="3"> 偏重</label>
                <label><input type="radio" name="q37" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>38. 你觉得做事必须做得很慢，以保证做得正确</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q38" value="0" required> 没有</label>
                <label><input type="radio" name="q38" value="1"> 很轻</label>
                <label><input type="radio" name="q38" value="2"> 中等</label>
                <label><input type="radio" name="q38" value="3"> 偏重</label>
                <label><input type="radio" name="q38" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>39. 你的心跳得很厉害</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q39" value="0" required> 没有</label>
                <label><input type="radio" name="q39" value="1"> 很轻</label>
                <label><input type="radio" name="q39" value="2"> 中等</label>
                <label><input type="radio" name="q39" value="3"> 偏重</label>
                <label><input type="radio" name="q39" value="4"> 严重</label>
            </div>
            </div>
        </div>
        <div class="question-group">
            <h2>40. 你感到恶心或胃部不舒服</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q40" value="0" required> 没有</label>
                <label><input type="radio" name="q40" value="1"> 很轻</label>
                <label><input type="radio" name="q40" value="2"> 中等</label>
                <label><input type="radio" name="q40" value="3"> 偏重</label>
                <label><input type="radio" name="q40" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>41. 你感到比不上他人</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q41" value="0" required> 没有</label>
                <label><input type="radio" name="q41" value="1"> 很轻</label>
                <label><input type="radio" name="q41" value="2"> 中等</label>
                <label><input type="radio" name="q41" value="3"> 偏重</label>
                <label><input type="radio" name="q41" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>42. 你感到肌肉酸痛</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q42" value="0" required> 没有</label>
                <label><input type="radio" name="q42" value="1"> 很轻</label>
                <label><input type="radio" name="q42" value="2"> 中等</label>
                <label><input type="radio" name="q42" value="3"> 偏重</label>
                <label><input type="radio" name="q42" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>43. 你感到有人监视你，谈论你</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q43" value="0" required> 没有</label>
                <label><input type="radio" name="q43" value="1"> 很轻</label>
                <label><input type="radio" name="q43" value="2"> 中等</label>
                <label><input type="radio" name="q43" value="3"> 偏重</label>
                <label><input type="radio" name="q43" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>44. 你感到难以入睡</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q44" value="0" required> 没有</label>
                <label><input type="radio" name="q44" value="1"> 很轻</label>
                <label><input type="radio" name="q44" value="2"> 中等</label>
                <label><input type="radio" name="q44" value="3"> 偏重</label>
                <label><input type="radio" name="q44" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>45. 你做事必须反复检查</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q45" value="0" required> 没有</label>
                <label><input type="radio" name="q45" value="1"> 很轻</label>
                <label><input type="radio" name="q45" value="2"> 中等</label>
                <label><input type="radio" name="q45" value="3"> 偏重</label>
                <label><input type="radio" name="q45" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>46. 你感觉难以作出决定</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q46" value="0" required> 没有</label>
                <label><input type="radio" name="q46" value="1"> 很轻</label>
                <label><input type="radio" name="q46" value="2"> 中等</label>
                <label><input type="radio" name="q46" value="3"> 偏重</label>
                <label><input type="radio" name="q46" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>47. 你怕乘电车、公共汽车、地铁或火车</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q47" value="0" required> 没有</label>
                <label><input type="radio" name="q47" value="1"> 很轻</label>
                <label><input type="radio" name="q47" value="2"> 中等</label>
                <label><input type="radio" name="q47" value="3"> 偏重</label>
                <label><input type="radio" name="q47" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>48. 你感觉呼吸有困难</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q48" value="0" required> 没有</label>
                <label><input type="radio" name="q48" value="1"> 很轻</label>
                <label><input type="radio" name="q48" value="2"> 中等</label>
                <label><input type="radio" name="q48" value="3"> 偏重</label>
                <label><input type="radio" name="q48" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>49. 你感到一阵阵发冷或发热</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q49" value="0" required> 没有</label>
                <label><input type="radio" name="q49" value="1"> 很轻</label>
                <label><input type="radio" name="q49" value="2"> 中等</label>
                <label><input type="radio" name="q49" value="3"> 偏重</label>
                <label><input type="radio" name="q49" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>50. 你会因为感到害怕而不敢做某些事情，避些东西、场合或活动</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q50" value="0" required> 没有</label>
                <label><input type="radio" name="q50" value="1"> 很轻</label>
                <label><input type="radio" name="q50" value="2"> 中等</label>
                <label><input type="radio" name="q50" value="3"> 偏重</label>
                <label><input type="radio" name="q50" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>51. 你觉得脑子变空了</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q51" value="0" required> 没有</label>
                <label><input type="radio" name="q51" value="1"> 很轻</label>
                <label><input type="radio" name="q51" value="2"> 中等</label>
                <label><input type="radio" name="q51" value="3"> 偏重</label>
                <label><input type="radio" name="q51" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>52. 你感到身体发麻或刺痛</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q52" value="0" required> 没有</label>
                <label><input type="radio" name="q52" value="1"> 很轻</label>
                <label><input type="radio" name="q52" value="2"> 中等</label>
                <label><input type="radio" name="q52" value="3"> 偏重</label>
                <label><input type="radio" name="q52" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>53. 你觉得喉咙有阻塞感</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q53" value="0" required> 没有</label>
                <label><input type="radio" name="q53" value="1"> 很轻</label>
                <label><input type="radio" name="q53" value="2"> 中等</label>
                <label><input type="radio" name="q53" value="3"> 偏重</label>
                <label><input type="radio" name="q53" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>54. 你感到前途没有希望</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q54" value="0" required> 没有</label>
                <label><input type="radio" name="q54" value="1"> 很轻</label>
                <label><input type="radio" name="q54" value="2"> 中等</label>
                <label><input type="radio" name="q54" value="3"> 偏重</label>
                <label><input type="radio" name="q54" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>55. 你不能集中注意</h2>
            <div class="question">
            <div class="options">
                <label><input type="radio" name="q55" value="0" required> 没有</label>
                <label><input type="radio" name="q55" value="1"> 很轻</label>
                <label><input type="radio" name="q55" value="2"> 中等</label>
                <label><input type="radio" name="q55" value="3"> 偏重</label>
                <label><input type="radio" name="q55" value="4"> 严重</label>
            </div>
            </div>
        </div>
        <div class="question-group">
            <h2>55. 你不能集中注意</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q55" value="0" required> 没有</label>
            <label><input type="radio" name="q55" value="1"> 很轻</label>
            <label><input type="radio" name="q55" value="2"> 中等</label>
            <label><input type="radio" name="q55" value="3"> 偏重</label>
            <label><input type="radio" name="q55" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>56. 你感到身体的某一部分软弱无力</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q56" value="0" required> 没有</label>
            <label><input type="radio" name="q56" value="1"> 很轻</label>
            <label><input type="radio" name="q56" value="2"> 中等</label>
            <label><input type="radio" name="q56" value="3"> 偏重</label>
            <label><input type="radio" name="q56" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>57. 你感到紧张或容易紧张</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q57" value="0" required> 没有</label>
            <label><input type="radio" name="q57" value="1"> 很轻</label>
            <label><input type="radio" name="q57" value="2"> 中等</label>
            <label><input type="radio" name="q57" value="3"> 偏重</label>
            <label><input type="radio" name="q57" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>58. 你感到手或脚发重</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q58" value="0" required> 没有</label>
            <label><input type="radio" name="q58" value="1"> 很轻</label>
            <label><input type="radio" name="q58" value="2"> 中等</label>
            <label><input type="radio" name="q58" value="3"> 偏重</label>
            <label><input type="radio" name="q58" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>59. 你会想到死亡的事</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q59" value="0" required> 没有</label>
            <label><input type="radio" name="q59" value="1"> 很轻</label>
            <label><input type="radio" name="q59" value="2"> 中等</label>
            <label><input type="radio" name="q59" value="3"> 偏重</label>
            <label><input type="radio" name="q59" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>60. 你感觉自己吃得太多</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q60" value="0" required> 没有</label>
            <label><input type="radio" name="q60" value="1"> 很轻</label>
            <label><input type="radio" name="q60" value="2"> 中等</label>
            <label><input type="radio" name="q60" value="3"> 偏重</label>
            <label><input type="radio" name="q60" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>61. 当别人看着你或谈论你时感到不自在</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q61" value="0" required> 没有</label>
            <label><input type="radio" name="q61" value="1"> 很轻</label>
            <label><input type="radio" name="q61" value="2"> 中等</label>
            <label><input type="radio" name="q61" value="3"> 偏重</label>
            <label><input type="radio" name="q61" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>62. 你有一些不属于你自己的想法</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q62" value="0" required> 没有</label>
            <label><input type="radio" name="q62" value="1"> 很轻</label>
            <label><input type="radio" name="q62" value="2"> 中等</label>
            <label><input type="radio" name="q62" value="3"> 偏重</label>
            <label><input type="radio" name="q62" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>63. 你会有想打人或伤害他人的冲动</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q63" value="0" required> 没有</label>
            <label><input type="radio" name="q63" value="1"> 很轻</label>
            <label><input type="radio" name="q63" value="2"> 中等</label>
            <label><input type="radio" name="q63" value="3"> 偏重</label>
            <label><input type="radio" name="q63" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>64. 你醒得太早</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q64" value="0" required> 没有</label>
            <label><input type="radio" name="q64" value="1"> 很轻</label>
            <label><input type="radio" name="q64" value="2"> 中等</label>
            <label><input type="radio" name="q64" value="3"> 偏重</label>
            <label><input type="radio" name="q64" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>65. 你必须反复洗手、点数目或触摸某些东西</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q65" value="0" required> 没有</label>
            <label><input type="radio" name="q65" value="1"> 很轻</label>
            <label><input type="radio" name="q65" value="2"> 中等</label>
            <label><input type="radio" name="q65" value="3"> 偏重</label>
            <label><input type="radio" name="q65" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>66. 你睡得不稳不深</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q66" value="0" required> 没有</label>
            <label><input type="radio" name="q66" value="1"> 很轻</label>
            <label><input type="radio" name="q66" value="2"> 中等</label>
            <label><input type="radio" name="q66" value="3"> 偏重</label>
            <label><input type="radio" name="q66" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>67. 你会有想摔坏或破坏东西的冲动</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q67" value="0" required> 没有</label>
            <label><input type="radio" name="q67" value="1"> 很轻</label>
            <label><input type="radio" name="q67" value="2"> 中等</label>
            <label><input type="radio" name="q67" value="3"> 偏重</label>
            <label><input type="radio" name="q67" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>68. 你有一些别人没有的想法或念头</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q68" value="0" required> 没有</label>
            <label><input type="radio" name="q68" value="1"> 很轻</label>
            <label><input type="radio" name="q68" value="2"> 中等</label>
            <label><input type="radio" name="q68" value="3"> 偏重</label>
            <label><input type="radio" name="q68" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>69. 你感到对别人神经过敏</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q69" value="0" required> 没有</label>
            <label><input type="radio" name="q69" value="1"> 很轻</label>
            <label><input type="radio" name="q69" value="2"> 中等</label>
            <label><input type="radio" name="q69" value="3"> 偏重</label>
            <label><input type="radio" name="q69" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>70. 在商店或电影院等人多的地方你会感到不自在</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q70" value="0" required> 没有</label>
            <label><input type="radio" name="q70" value="1"> 很轻</label>
            <label><input type="radio" name="q70" value="2"> 中等</label>
            <label><input type="radio" name="q70" value="3"> 偏重</label>
            <label><input type="radio" name="q70" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>71. 你感到任何事情都很困难</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q71" value="0" required> 没有</label>
            <label><input type="radio" name="q71" value="1"> 很轻</label>
            <label><input type="radio" name="q71" value="2"> 中等</label>
            <label><input type="radio" name="q71" value="3"> 偏重</label>
            <label><input type="radio" name="q71" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>72. 你感到一阵阵恐惧或惊恐</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q72" value="0" required> 没有</label>
            <label><input type="radio" name="q72" value="1"> 很轻</label>
            <label><input type="radio" name="q72" value="2"> 中等</label>
            <label><input type="radio" name="q72" value="3"> 偏重</label>
            <label><input type="radio" name="q72" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>73. 你感到在公共场合吃东西很不舒服</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q73" value="0" required> 没有</label>
            <label><input type="radio" name="q73" value="1"> 很轻</label>
            <label><input type="radio" name="q73" value="2"> 中等</label>
            <label><input type="radio" name="q73" value="3"> 偏重</label>
            <label><input type="radio" name="q73" value="4"> 严重</label>
            </div>
            </div>
        </div>
        <div class="question-group">
            <h2>74. 你会经常与人争论</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q74" value="0" required> 没有</label>
            <label><input type="radio" name="q74" value="1"> 很轻</label>
            <label><input type="radio" name="q74" value="2"> 中等</label>
            <label><input type="radio" name="q74" value="3"> 偏重</label>
            <label><input type="radio" name="q74" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>75. 你单独一人时神经很紧张</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q75" value="0" required> 没有</label>
            <label><input type="radio" name="q75" value="1"> 很轻</label>
            <label><input type="radio" name="q75" value="2"> 中等</label>
            <label><input type="radio" name="q75" value="3"> 偏重</label>
            <label><input type="radio" name="q75" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>76. 你认为别人对你的成绩没有作出恰当的评价</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q76" value="0" required> 没有</label>
            <label><input type="radio" name="q76" value="1"> 很轻</label>
            <label><input type="radio" name="q76" value="2"> 中等</label>
            <label><input type="radio" name="q76" value="3"> 偏重</label>
            <label><input type="radio" name="q76" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>77. 即使和别人在一起你也感到孤单</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q77" value="0" required> 没有</label>
            <label><input type="radio" name="q77" value="1"> 很轻</label>
            <label><input type="radio" name="q77" value="2"> 中等</label>
            <label><input type="radio" name="q77" value="3"> 偏重</label>
            <label><input type="radio" name="q77" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>78. 你感到坐立不安，心神不定</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q78" value="0" required> 没有</label>
            <label><input type="radio" name="q78" value="1"> 很轻</label>
            <label><input type="radio" name="q78" value="2"> 中等</label>
            <label><input type="radio" name="q78" value="3"> 偏重</label>
            <label><input type="radio" name="q78" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>79. 你感到自己没有什么价值</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q79" value="0" required> 没有</label>
            <label><input type="radio" name="q79" value="1"> 很轻</label>
            <label><input type="radio" name="q79" value="2"> 中等</label>
            <label><input type="radio" name="q79" value="3"> 偏重</label>
            <label><input type="radio" name="q79" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>80. 你感到熟悉的东西变得陌生，不像是真的</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q80" value="0" required> 没有</label>
            <label><input type="radio" name="q80" value="1"> 很轻</label>
            <label><input type="radio" name="q80" value="2"> 中等</label>
            <label><input type="radio" name="q80" value="3"> 偏重</label>
            <label><input type="radio" name="q80" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>81. 你会大叫或摔东西</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q81" value="0" required> 没有</label>
            <label><input type="radio" name="q81" value="1"> 很轻</label>
            <label><input type="radio" name="q81" value="2"> 中等</label>
            <label><input type="radio" name="q81" value="3"> 偏重</label>
            <label><input type="radio" name="q81" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>82. 你害怕会在公共场合昏倒</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q82" value="0" required> 没有</label>
            <label><input type="radio" name="q82" value="1"> 很轻</label>
            <label><input type="radio" name="q82" value="2"> 中等</label>
            <label><input type="radio" name="q82" value="3"> 偏重</label>
            <label><input type="radio" name="q82" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>83. 你感到别人想占你的便宜</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q83" value="0" required> 没有</label>
            <label><input type="radio" name="q83" value="1"> 很轻</label>
            <label><input type="radio" name="q83" value="2"> 中等</label>
            <label><input type="radio" name="q83" value="3"> 偏重</label>
            <label><input type="radio" name="q83" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>84. 你为一些有关“性”的想法而很苦恼</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q84" value="0" required> 没有</label>
            <label><input type="radio" name="q84" value="1"> 很轻</label>
            <label><input type="radio" name="q84" value="2"> 中等</label>
            <label><input type="radio" name="q84" value="3"> 偏重</label>
            <label><input type="radio" name="q84" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>85. 你认为应该因为自己的过错而受到惩罚</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q85" value="0" required> 没有</label>
            <label><input type="radio" name="q85" value="1"> 很轻</label>
            <label><input type="radio" name="q85" value="2"> 中等</label>
            <label><input type="radio" name="q85" value="3"> 偏重</label>
            <label><input type="radio" name="q85" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>86. 你感到要赶快把事情做完</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q86" value="0" required> 没有</label>
            <label><input type="radio" name="q86" value="1"> 很轻</label>
            <label><input type="radio" name="q86" value="2"> 中等</label>
            <label><input type="radio" name="q86" value="3"> 偏重</label>
            <label><input type="radio" name="q86" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>87. 你感到自己的身体有严重问题</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q87" value="0" required> 没有</label>
            <label><input type="radio" name="q87" value="1"> 很轻</label>
            <label><input type="radio" name="q87" value="2"> 中等</label>
            <label><input type="radio" name="q87" value="3"> 偏重</label>
            <label><input type="radio" name="q87" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>88. 你从未感到和其他人很亲近</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q88" value="0" required> 没有</label>
            <label><input type="radio" name="q88" value="1"> 很轻</label>
            <label><input type="radio" name="q88" value="2"> 中等</label>
            <label><input type="radio" name="q88" value="3"> 偏重</label>
            <label><input type="radio" name="q88" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>89. 你感到自己有罪</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q89" value="0" required> 没有</label>
            <label><input type="radio" name="q89" value="1"> 很轻</label>
            <label><input type="radio" name="q89" value="2"> 中等</label>
            <label><input type="radio" name="q89" value="3"> 偏重</label>
            <label><input type="radio" name="q89" value="4"> 严重</label>
            </div>
            </div>
        </div>

        <div class="question-group">
            <h2>90. 你感到自己的脑子有毛病</h2>
            <div class="question">
            <div class="options">
            <label><input type="radio" name="q90" value="0" required> 没有</label>
            <label><input type="radio" name="q90" value="1"> 很轻</label>
            <label><input type="radio" name="q90" value="2"> 中等</label>
            <label><input type="radio" name="q90" value="3"> 偏重</label>
            <label><input type="radio" name="q90" value="4"> 严重</label>
            </div>
            </div>
        </div>

        
        <!-- 更多问题组... -->

        <button type="submit">提交问卷</button>
    </form>
</body>

<script>
    function calculateScores() {
        const form = document.querySelector('form');
        const formData = new FormData(form);

        const factors = {
            somatization: [1, 4, 12, 27, 40, 42, 48, 49, 52, 53, 56, 58],
            obsessiveCompulsive: [3, 9, 10, 28, 38, 45, 46, 51, 55, 65],
            interpersonalSensitivity: [6, 21, 34, 36, 37, 41, 61, 69, 73],
            depression: [5, 14, 15, 20, 22, 26, 29, 30, 31, 32, 54, 71, 79],
            anxiety: [2, 17, 23, 33, 39, 57, 72, 78, 80, 86],
            hostility: [11, 24, 63, 67, 74, 81],
            phobicAnxiety: [13, 25, 47, 50, 70, 75, 82],
            paranoidIdeation: [8, 18, 43, 68, 76, 83],
            psychoticism: [7, 16, 35, 62, 77, 84, 85, 87, 88, 90],
            additionalItems: [19, 44, 59, 60, 64, 66, 89]
        };

        let totalScore = 0;
        let positiveItems = 0;
        const factorScores = {};

        // Initialize factor scores
        for (const factor in factors) {
            factorScores[factor] = 0;
        }

        formData.forEach((value, key) => {
            const score = parseInt(value, 10);
            totalScore += score;
            if (score > 0) {
                positiveItems++;
            }

            // Add score to the corresponding factor
            for (const factor in factors) {
                if (factors[factor].includes(parseInt(key.slice(1), 10))) {
                    factorScores[factor] += score;
                }
            }
        });

        const generalSymptomaticIndex = (totalScore / 90).toFixed(2);
        const positiveSymptomDistressLevel = positiveItems > 0 ? (totalScore / positiveItems).toFixed(2) : 0;

        return {
            totalScore,
            generalSymptomaticIndex,
            positiveItems,
            positiveSymptomDistressLevel,
            factorScores
        };
    }

    document.querySelector('form').addEventListener('submit', function(event) {
        event.preventDefault();

        const scores = calculateScores();

        let factorResults = '';
        for (const [factor, score] of Object.entries(scores.factorScores)) {
            factorResults += `${factor}: ${score}\n`;
        }

        alert(`总分: ${scores.totalScore}\n总均分: ${scores.generalSymptomaticIndex}\n阳性项目数: ${scores.positiveItems}\n阳性症状痛苦水平: ${scores.positiveSymptomDistressLevel}\n\n各类型得分:\n${factorResults}`);
    });


</script>

</html>
